Help > Reference > Macros > Runtime object > SafeFilename method

SafeFilename method

This method converts the given text into a filename-safe version, replacing the illegal filename characters with _ (underscore).

Member of

Runtime

Type

Function(Name)

Parameters

Return

Example

For Each Document in App.ActiveTab.FetchAll
  Document.Export SafeFilename(Document.Name)
Next

See Also

Macro Object Model

Runtime